Why can't my PowerShell script access a variable outside of a Click Event when compiled to exe

join shbcf.ru